package com.tanhua.server.controller;

import com.alibaba.fastjson.JSON;
import com.tanhua.model.UserInfo;

public class Hello {
    public static void main(String[] args) {
        UserInfo userInfo = new UserInfo();
        userInfo.setAge(22);
        userInfo.setCity("石家庄石家庄我的故乡");
        userInfo.setBirthday("nhhhhh");
        String s = JSON.toJSONString(userInfo);
        System.out.println(s);

    }

}
